<!--查看明细 -->
<div class="modal-dialog  modal-fullscreen">

    <div class="modal-content">

        <div class="modal-body">
            <h1 class="text-center"><?php echo $result[0]['batch_code']?>备货需求批次号详情</h1>

            <div class="alert alert-primary with-icon">
                <i class="icon-ok-sign"></i>

                <div class="content">
                    <h4><?php echo $result[0]['batch_code']?>(备货需求批次号)</h4>
                    <hr>
                    创建人：<?php echo isset($create_user_id)?$create_user_id:''?> 创建时间：<?php echo $result[0]['create_time']?>
                </div>
            </div>
            <?php if(!empty($result)):?>
            <table class="table table-striped  table-hover" cellspacing="0" width="100%">
                <thead>
                <tr>
                    <th>状态</th>
                    <th>SKU</th>
                    <th>账号</th>
                    <th>站点</th>
                    <th>虚拟SKU</th>
                    <th>产品名称</th>
                    <th>需求数量</th>
                    <th>储位</th>
                    <th>预拣数量</th>
                    <th>是否退税</th>
                    <th>销售员</th>
                    <th>采购员</th>
                    <th>要求到货时间</th>
                </tr>
                </thead>
                <tbody>
                <?php foreach($result as $_data):?>
                <tr>
                    <td><?php echo $_data['status']?></td>
                    <td><?php echo $_data['sku']?></td>
                    <td><?php echo $_data['account_name']?></td>
                    <td><?php echo $_data['site_id']?></td>
                    <td><?php echo $_data['sku_virtual']?></td>
                    <td><?php echo $_data['sku_name']?></td>
                    <td><?php echo $_data['needs_quantity']?></td>
                    <td><?php echo $_data['storage']?></td>
                    <td><?php echo $_data['actual_quanlity']?></td>
                    <td><?php echo $_data['export_tax_rebate']?></td>
                    <td><?php echo $_data['seller_id']?></td>
                    <td><?php echo $_data['buyer_id']?></td>
                    <td><?php echo $_data['claim_arrive_time']?></td>
                </tr>
                </tbody>
                <?php endforeach;?>
            </table>
            <?php endif?>
        </div>
        <!--<div class="modal-footer">-->
            <!--<button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
            <!--<button type="button" class="btn" data-dismiss="modal">取消</button>-->
        <!--</div>-->
    </div>
</div>